PATHMac OS 8 Developer Documentation > Operating System Services > Multiprocessing Services >

Adding Multitasking Capability to Applications Using Multiprocessing Services

   

MPCreateCriticalRegion

Creates a critical region object.

OSStatus MPCreateCriticalRegion (MPCriticalRegionID *criticalRegion);
criticalRegion
A pointer to a variable of type MPCriticalRegionID . On return, the variable contains the ID of the newly created critical region object.
function result
A result code. See Result Codes for a list of possible values.
VERSION NOTES

Introduced with Multiprocessing Services 1.0.

SEE ALSO

The function MPDeleteCriticalRegion .


© 1999 Apple Computer, Inc. – (Last Updated 07 May 99)